
<?php require_once 'includes/top_page.inc';?>

<?php print render($page['slideshow']); ?>

<?php
if(!empty($page['sidebar'])){
    $classe_meio = 'col-md-9';
}else{
    $classe_meio = 'nada';
}
?>

<?php print render($page['slider']); ?>

<div class="wrapper">
    
    <?php if (!empty($page['sobre_content'])): ?>
    <div>
        <div class="container">
            <div class="row">
                <?php print render($page['sobre_content']); ?>
            </div>
        </div>
    </div>
    <?php endif; ?>
    
    
    <?php if(!empty($page['sidebar'])){ ?>
    
        <div class="container">
            <div class="row">
                <div class="view-news">
                    <div class="col-md-9">
                        <?php print render($page['content']); ?>
                    </div>

                    <div class="col-md-3">
                        <?php print render($page['sidebar']); ?>
                    </div>  
                </div>
            </div>
        </div>
        
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <?php print render($page['sub_content']); ?>
                </div>
            </div> 
        </div>

    <?php }else{
        ?>
    
                <?php print render($page['content']); ?>

                <?php print render($page['sub_content']); ?>
   <?php }?>

                


<?php print render($page['sob_rodape']); ?>

<?php require_once 'includes/footer_page.inc';?>
</div>